#-*-encoding=utf-8-*-
steps = [
    FlowStep(
        name=u'435670',
        title=u'下达任务',
        fields=[u'title', u'description', u'responsible', u'reviewer', u'end'],
        trigger=ur"""""",
        responsibles=u'[request.principal.id]',
    actions=[
        FlowStepAction(
            name=u'588948',
            title=u'提交',
            nextsteps=[u'407279'],
            finish_condition=u''
),

        FlowStepAction(
            name=u'961754',
            title=u'废弃',
            nextsteps=[],
            finish_condition=u''
)
])
,

    FlowStep(
        name=u'407279',
        title=u'执行任务',
        fields=[u'result'],
        trigger=ur"""""",
        responsibles=u'sheet["responsible"]',
    actions=[
        FlowStepAction(
            name=u'873693',
            title=u'任务已完成',
            nextsteps=[u'868098'],
            finish_condition=u''
),

        FlowStepAction(
            name=u'580490',
            title=u'拒绝',
            nextsteps=[u'435670'],
            finish_condition=u''
)
])
,

    FlowStep(
        name=u'868098',
        title=u'检查任务',
        fields=[u'check_comment', u'score'],
        trigger=ur"""""",
        responsibles=u'sheet["reviewer"]',
    actions=[
        FlowStepAction(
            name=u'391578',
            title=u'检查通过',
            nextsteps=[],
            finish_condition=u''
),

        FlowStepAction(
            name=u'116391',
            title=u'打回',
            nextsteps=[u'407279'],
            finish_condition=u''
)
])
]